/**
 * 用户添加 add by gsh
 * @param frm
 * @returns
 */


function checkData(frm){
	var isValid = validator(frm);

	return isValid;	
}

FormValid.showError = function(errMsg, errName, formName) {
    for (key in FormValid.allName) {
        var jctr = $('#errMsg_' + FormValid.allName[key]);
        jctr.removeClass("red").hide();           
    }

    for (key in errMsg) {
        var jctr = $('#errMsg_' + errName[key]);
        jctr.addClass("red").show();
    }
};










